package com.njust.service;

import com.njust.form.SlotForm;
import com.njust.vo.GearVO;
import com.njust.vo.ResultVO;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * Created by zhujiawei on 2017/12/30.
 */
public interface GearService {

    //根据电机关联编号查询出所有的齿数据
    ResultVO findByTrainOnlyidAndMotorId(Long trainOnlyid, Integer motorNum,Integer trainDirection);

    ResultVO slotTrendencyQuery(SlotForm slotForm) throws ParseException;

    Map<String,Double> findByTrainOnlyidMaxDifference(Long trainOnlyid, Integer motorNum, Integer trainDirection);
}
